package com.nercel.dsj.gksales.model.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 省市区
 * @author sunlin
 *
 */
@Data
public class Region{

	@ApiModelProperty(value = "ID")
	private int id;
	
	@ApiModelProperty(value = "区域代码")
	private String code;
	
	@ApiModelProperty(value = "区域名称")
	private String name; 
	
	@ApiModelProperty(value = "上级区域编号")
	private int parentId; 
	
	@ApiModelProperty(value = "级别")
	private double level; 
	
	@ApiModelProperty(value = "排序")
	@JsonIgnore
	private double order; 
	
	@ApiModelProperty(value = "拼音")
	@JsonIgnore
	private String pingyin; 
	
	@ApiModelProperty(value = "拼音简写")
	@JsonIgnore
	private String shortPy;

	@ApiModelProperty(value = "排序")
	@JsonIgnore
	private double sort;

	@ApiModelProperty(value = "纬度")
	private double lat;

	@ApiModelProperty(value = "经度")
	private double lng;

	@ApiModelProperty(value = "城市图片")
	private String image;

	private String parents;

	private String parentIds;

}
